package com.gange.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gange.dao.CategoryMapper;
import com.gange.entity.Category;
import com.gange.service.ICategoryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 分类 服务实现类
 * </p>
 *
 * @author gange
 * @since 2022-11-02
 */
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements ICategoryService {
    @Override
    public List<Category> selectCateTree() {
        return baseMapper.selectCateTree();
    }
}
